import request from "@/utils/request";

// 获取资金队列
export function getFunds(data) {
  console.log(data)
  return request({
    url: "/transaction/fundsNotMatched",
    method: "get",
    params: data,
  });
}

// 撮合匹配
export function matchup(data) {
  return request({
    url: "/transaction/matchUp",
    method: "post",
  });
}

// 匹配结果
export function matchedResult(data) {
  return request({
    url: "/transaction/matchedResult",
    method: "get",
    params: data,
  });
}
